:root {
    --primary: #2b6cb0;
    --accent: #4299e1;
    --bg: #f7fbff;
    --text-dark: #1a202c;
    --text-light: #4a5568;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-dark);
}

/* NAVIGATION */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.logo {
    font-weight: bold;
    font-size: 1.4rem;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.nav-links a.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100%;
    background: white;
    padding: 60px 30px;
    transition: 0.3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
}

.mobile-menu.active { right: 0; }

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 26px;
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    text-decoration: none;
    font-size: 18px;
    color: var(--text-dark);
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
}

/* EMERGENCY BANNER */
.emergency-banner {
    background: #ffe5e5;
    color: #b00020;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 14px;
}

/* SECTIONS */
.section {
    padding: 80px 8%;
}

.section-light {
    background: linear-gradient(135deg, #f3f9ff, #ffffff);
}

/* FORMS */
.form-container {
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-group { margin-bottom: 20px; }

label {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
    color: var(--text-light);
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #d9e2ec;
    background: #f9fcff;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}

/* --- NEW LAYOUT CLASSES --- */

/* Top Info Bar */
.info-bar {
    background: #f8f9fa;
    padding: 12px 8%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.85rem;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
}

/* Flexible Section: Text Left, Image Right */
.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 8%;
}

.flex-container.align-top {
    align-items: flex-start;
}

.content-left {
    flex: 1;
}

.image-right {
    flex: 0 0 250px;
}

.image-right img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Services & Symptoms List */
.symptoms-grid {
    column-count: 2;
    line-height: 1.8;
    color: var(--text-light);
    margin-top: 20px;
    padding-left: 20px;
}

/* Portal Information Box */
.portal-box {
    background: #eef6ff;
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
    border-left: 5px solid var(--primary);
}

.portal-box ol {
    line-height: 2;
    margin: 0;
}

/* Form Disclaimer */
.disclaimer {
    font-size: 0.85rem;
    color: #b00020;
    background: #fff5f5;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ffcccc;
}

.faq-item {
    margin-bottom: 25px;
}

.faq-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Responsive Stacking for Mobile */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        text-align: center;
    }
    .image-right {
        order: -1; /* Image moves to top on mobile */
        flex: 0 0 auto;
        width: 180px;
        margin: 0 auto;
    }
    .symptoms-grid {
        column-count: 1;
        text-align: left;
    }
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px;
    background-color: #0b1e3a; /* match your theme */
      color: #ffffff;
}

/* Main text */
.footer-main {
  margin: 0;
}

/* Credit line */
.footer-credit {
  margin: 8px 0 4px;
}

/* Small legal line */
.footer-sub {
  margin: 0;
  font-size: 12px;
  color: #aaa;
}

/* Link styling (fix purple + underline) */
.site-footer a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Visited link */
.site-footer a:visited {
  color: #00bcd4;
}

/* Hover effect */
.site-footer a:hover {
  color: #ffffff;
}
/* WebGen Badge */
.webgen-badge {
  margin-top: 10px;
  text-align: center;
}

.webgen-badge a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  color: #bbb;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
}

/* Highlight WebGen text */
.webgen-badge strong {
  color: #00bcd4;
  font-weight: 600;
  margin-left: 4px;
}

/* Hover effect */
.webgen-badge a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.webgen-badge small {
  display: block;
  font-size: 10px;
  color: #777;
  margin-top: 4px;
}